<?php
/**
 * Created by PhpStorm.
 * User: superxing-cto
 * Date: 17/10/23
 * Time: 12:05
 */

namespace App\Models;
use App\Models\User;
/**
 * Class Follow
 * @property integer user_id 用户id
 * @property integer type_id 类型id
 * @property string type 类型
 * @property boolean is_push 是否接收推送
 * @property boolean is_mutual 是否互相关注
 */
class SocialStatusLog extends ApplicationModel
{

    protected $fillable = [
        'user_id', //用户id
        'from_user_id',
        'detail', //
        'value',
        'type', //
        'purchase_id',
        'product_id',
        'price', //类型id
        'virtual_coin', //类型
        'source', //

    ];

    const STATUS_FANS_ADD = 1;//粉丝增加
    const STATUS_FANS_CANCEL = 2;//粉丝减少

    const STATUS_SERVICE_UP = 3;//上架服务
    const STATUS_SERVICE_DOWN = 4;//下架服务

    const STATUS_PURCHASE_FINISH = 5;//完成订单

    const STATUS_TOOLS = 7; //道具

    const STATUS_FANS_WORK = 9; //累计粉丝打工

}
